//
//  Directory.h
//  HandPay
//
//  Created by xy on 10-3-24.
//  Copyright 2010 HANDPAY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "luaEngine.h"

@interface Directory : NSObject {

}

+(BOOL)createDirectory:(NSString *)path;
+(BOOL)exists:(NSString *)path;
+(long)freeSpaceSize:(NSString *)path;
+(NSString *)getSaveRoot;
+(NSString *)getCardRoot;
+(NSArray *)getFilesInPath:(NSString *)path withFilter:(NSString *)filter;
+(long)totalSpaceSize;
+(NSArray *)getChidrenInPath:(NSString *)path;


+(NSString *)getFilePath;
+(NSString *)getCachePath;
+(NSString *)gettempPath;
@end
